<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>事件列表</title>
</head>
<script src="shijian.js"></script>
<!--<body onload="myOnLoad()" onunload="myUnOnLoad()">-->
<body onload="myOnLoad()"  onunload="alert('The onunload event was triggered')">
<a id="text"></a>
    <table>
        <tr onclick="myClick(event)">
            <td>onclick</td>
            <td>单击事件</td>
        </tr><tr onmouseover="myTime()">
            <td>onmouseover</td>
            <td>鼠标经过事件（一次）</td>
        </tr>
        <tr onmousemove="myTime()">
            <td>onmousemove</td>
            <td>鼠标经过事件（每次）</td>
        </tr><tr onmouseout="myTime()">
            <td>onmouseout</td>
            <td>鼠标移出事件</td>
        </tr><tr onmousedown="myTime()">
            <td>onmousedown</td>
            <td>鼠标按下事件</td>
        </tr><tr onmouseup="myTime()">
            <td>onmouseup</td>
            <td>鼠标弹起事件</td>
        </tr><tr onmousewheel="myTime()">
            <td>onmousewheel</td>
            <td>滚轮滚动事件</td>
        </tr><tr onchange="myTime()">
            <td>onchange</td>
            <td><input value="文本内容改变事件"></td>
        </tr><tr onselect="myTime()">
            <td>onselect</td>
            <td><input value="文本选中事件"></td>
        </tr><tr >
            <td>onfocus</td>
            <td><input value="聚焦事件" onfocus="myTime(this.name)" name="聚焦事件"></td>
        </tr><tr >
            <td>onblur</td>
            <td><input value="移开光标事件" onblur="myTime(this.name)"  name="移开光标事件"></td>
        </tr><tr>
            <td>onload</td>
            <td>网页加载事件</td>
        </tr><tr>
            <td>onunload</td>
            <td>关闭网页事件</td>
        </tr>
    </table>
</body>
</html>